heat_template_version: 2013-05-23
description: '{{ server.name }} HOT for {{ VNF.flavour_id }} VNF'

parameters:
  flavor:
    type: string
  availability_zone:
    type: string
  image:
    type: string
  net:
    type: string

resources:
  {{ server.name }}:
    type: OS::Nova::Server
    properties:
      flavor: { get_param: flavor }
      availability_zone: { get_param: availability_zone }
      image: { get_param: image }
      name: {{ server.name }}
      networks:
        - port:
            get_resource: {{ network.connect_point }}

  {{ network.connect_point }}:
    type: OS::Neutron::Port
    properties:
      network: { get_param: net }